package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 order_info
 * 
 * @author ruoyi
 * @date 2025-01-12
 */
public class OrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderId;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String activityTitle;

    /** 社群Id */
    @Excel(name = "社群Id")
    private String communityId;

    /** 活动编码 */
    @Excel(name = "活动编码")
    private String activityId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 订单状态：0待支付，1已支付，2已退款，3取消 */
    @Excel(name = "订单状态：0待支付，1已支付，2已退款，3取消")
    private Long orderStatus;

    /** 报名宣言 */
    @Excel(name = "报名宣言")
    private String declaration;

    /** 必须回答问题 */
    @Excel(name = "必须回答问题")
    private String requiredAnswer;

    /** 总金额 */
    @Excel(name = "总金额")
    private BigDecimal totalAmount;

    /** 创建者 */
    @Excel(name = "创建者")
    private String createUser;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updateUser;

    /** 是否有效 1有效 0 无效 */
    @Excel(name = "是否有效 1有效 0 无效")
    private Long yn;

    /** 报名照片 */
    @Excel(name = "报名照片")
    private String applyPic;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public void setActivityTitle(String activityTitle) 
    {
        this.activityTitle = activityTitle;
    }

    public String getActivityTitle() 
    {
        return activityTitle;
    }

    public void setCommunityId(String communityId) 
    {
        this.communityId = communityId;
    }

    public String getCommunityId() 
    {
        return communityId;
    }

    public void setActivityId(String activityId) 
    {
        this.activityId = activityId;
    }

    public String getActivityId() 
    {
        return activityId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setOrderStatus(Long orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Long getOrderStatus() 
    {
        return orderStatus;
    }

    public void setDeclaration(String declaration) 
    {
        this.declaration = declaration;
    }

    public String getDeclaration() 
    {
        return declaration;
    }

    public void setRequiredAnswer(String requiredAnswer) 
    {
        this.requiredAnswer = requiredAnswer;
    }

    public String getRequiredAnswer() 
    {
        return requiredAnswer;
    }

    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }

    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    public void setYn(Long yn) 
    {
        this.yn = yn;
    }

    public Long getYn() 
    {
        return yn;
    }

    public void setApplyPic(String applyPic) 
    {
        this.applyPic = applyPic;
    }

    public String getApplyPic() 
    {
        return applyPic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("activityTitle", getActivityTitle())
            .append("communityId", getCommunityId())
            .append("activityId", getActivityId())
            .append("userId", getUserId())
            .append("orderStatus", getOrderStatus())
            .append("declaration", getDeclaration())
            .append("requiredAnswer", getRequiredAnswer())
            .append("totalAmount", getTotalAmount())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("yn", getYn())
            .append("applyPic", getApplyPic())
            .toString();
    }
}
